package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学校管理对象 cm_schools
 * 
 * @author ruoyi
 * @date 2025-11-05
 */
public class CmSchools extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 学校编码 */
    @Excel(name = "学校编码")
    private String schoolCode;

    /** 学校类型: 1-小学, 2-初中, 3-幼儿园 */
    @Excel(name = "学校类型: 1-小学, 2-初中, 3-幼儿园")
    private Long type;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }

    public void setSchoolCode(String schoolCode) 
    {
        this.schoolCode = schoolCode;
    }

    public String getSchoolCode() 
    {
        return schoolCode;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolName", getSchoolName())
            .append("schoolCode", getSchoolCode())
            .append("type", getType())
            .toString();
    }
}
